const fs = require('fs');
const content = require('./mani/fest.json');

const renderUI = process.env.FXUI;

if (renderUI) {
  content.commands[0].script = `./examples/${renderUI}.jsx`;
}
fs.writeFile('manifest.json', JSON.stringify(content), 'utf8', (err) => {
  if (err) throw err;
});
